↳ Prolog
↳ PrologToPiTRSProof
f_in_gga(A, [], RES) → U1_gga(A, RES, g_in_gga(A, [], RES))
g_in_gga([], RES, RES) → g_out_gga([], RES, RES)
g_in_gga(.(C, Cs), D, RES) → U3_gga(C, Cs, D, RES, g_in_gga(Cs, .(C, D), RES))
U3_gga(C, Cs, D, RES, g_out_gga(Cs, .(C, D), RES)) → g_out_gga(.(C, Cs), D, RES)
U1_gga(A, RES, g_out_gga(A, [], RES)) → f_out_gga(A, [], RES)
f_in_gga(.(A, As), .(B, Bs), RES) → U2_gga(A, As, B, Bs, RES, f_in_gga(.(B, .(A, As)), Bs, RES))
U2_gga(A, As, B, Bs, RES, f_out_gga(.(B, .(A, As)), Bs, RES)) → f_out_gga(.(A, As), .(B, Bs), RES)
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
f_in_gga(A, [], RES) → U1_gga(A, RES, g_in_gga(A, [], RES))
g_in_gga([], RES, RES) → g_out_gga([], RES, RES)
g_in_gga(.(C, Cs), D, RES) → U3_gga(C, Cs, D, RES, g_in_gga(Cs, .(C, D), RES))
U3_gga(C, Cs, D, RES, g_out_gga(Cs, .(C, D), RES)) → g_out_gga(.(C, Cs), D, RES)
U1_gga(A, RES, g_out_gga(A, [], RES)) → f_out_gga(A, [], RES)
f_in_gga(.(A, As), .(B, Bs), RES) → U2_gga(A, As, B, Bs, RES, f_in_gga(.(B, .(A, As)), Bs, RES))
U2_gga(A, As, B, Bs, RES, f_out_gga(.(B, .(A, As)), Bs, RES)) → f_out_gga(.(A, As), .(B, Bs), RES)
F_IN_GGA(A, [], RES) → U1_GGA(A, RES, g_in_gga(A, [], RES))
F_IN_GGA(A, [], RES) → G_IN_GGA(A, [], RES)
G_IN_GGA(.(C, Cs), D, RES) → U3_GGA(C, Cs, D, RES, g_in_gga(Cs, .(C, D), RES))
G_IN_GGA(.(C, Cs), D, RES) → G_IN_GGA(Cs, .(C, D), RES)
F_IN_GGA(.(A, As), .(B, Bs), RES) → U2_GGA(A, As, B, Bs, RES, f_in_gga(.(B, .(A, As)), Bs, RES))
F_IN_GGA(.(A, As), .(B, Bs), RES) → F_IN_GGA(.(B, .(A, As)), Bs, RES)
f_in_gga(A, [], RES) → U1_gga(A, RES, g_in_gga(A, [], RES))
g_in_gga([], RES, RES) → g_out_gga([], RES, RES)
g_in_gga(.(C, Cs), D, RES) → U3_gga(C, Cs, D, RES, g_in_gga(Cs, .(C, D), RES))
U3_gga(C, Cs, D, RES, g_out_gga(Cs, .(C, D), RES)) → g_out_gga(.(C, Cs), D, RES)
U1_gga(A, RES, g_out_gga(A, [], RES)) → f_out_gga(A, [], RES)
f_in_gga(.(A, As), .(B, Bs), RES) → U2_gga(A, As, B, Bs, RES, f_in_gga(.(B, .(A, As)), Bs, RES))
U2_gga(A, As, B, Bs, RES, f_out_gga(.(B, .(A, As)), Bs, RES)) → f_out_gga(.(A, As), .(B, Bs), RES)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
F_IN_GGA(A, [], RES) → U1_GGA(A, RES, g_in_gga(A, [], RES))
F_IN_GGA(A, [], RES) → G_IN_GGA(A, [], RES)
G_IN_GGA(.(C, Cs), D, RES) → U3_GGA(C, Cs, D, RES, g_in_gga(Cs, .(C, D), RES))
G_IN_GGA(.(C, Cs), D, RES) → G_IN_GGA(Cs, .(C, D), RES)
F_IN_GGA(.(A, As), .(B, Bs), RES) → U2_GGA(A, As, B, Bs, RES, f_in_gga(.(B, .(A, As)), Bs, RES))
F_IN_GGA(.(A, As), .(B, Bs), RES) → F_IN_GGA(.(B, .(A, As)), Bs, RES)
f_in_gga(A, [], RES) → U1_gga(A, RES, g_in_gga(A, [], RES))
g_in_gga([], RES, RES) → g_out_gga([], RES, RES)
g_in_gga(.(C, Cs), D, RES) → U3_gga(C, Cs, D, RES, g_in_gga(Cs, .(C, D), RES))
U3_gga(C, Cs, D, RES, g_out_gga(Cs, .(C, D), RES)) → g_out_gga(.(C, Cs), D, RES)
U1_gga(A, RES, g_out_gga(A, [], RES)) → f_out_gga(A, [], RES)
f_in_gga(.(A, As), .(B, Bs), RES) → U2_gga(A, As, B, Bs, RES, f_in_gga(.(B, .(A, As)), Bs, RES))
U2_gga(A, As, B, Bs, RES, f_out_gga(.(B, .(A, As)), Bs, RES)) → f_out_gga(.(A, As), .(B, Bs), RES)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
G_IN_GGA(.(C, Cs), D, RES) → G_IN_GGA(Cs, .(C, D), RES)
f_in_gga(A, [], RES) → U1_gga(A, RES, g_in_gga(A, [], RES))
g_in_gga([], RES, RES) → g_out_gga([], RES, RES)
g_in_gga(.(C, Cs), D, RES) → U3_gga(C, Cs, D, RES, g_in_gga(Cs, .(C, D), RES))
U3_gga(C, Cs, D, RES, g_out_gga(Cs, .(C, D), RES)) → g_out_gga(.(C, Cs), D, RES)
U1_gga(A, RES, g_out_gga(A, [], RES)) → f_out_gga(A, [], RES)
f_in_gga(.(A, As), .(B, Bs), RES) → U2_gga(A, As, B, Bs, RES, f_in_gga(.(B, .(A, As)), Bs, RES))
U2_gga(A, As, B, Bs, RES, f_out_gga(.(B, .(A, As)), Bs, RES)) → f_out_gga(.(A, As), .(B, Bs), RES)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
G_IN_GGA(.(C, Cs), D, RES) → G_IN_GGA(Cs, .(C, D), RES)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPSizeChangeProof
↳ PiDP
G_IN_GGA(.(C, Cs), D) → G_IN_GGA(Cs, .(C, D))
From the DPs we obtained the following set of size-change graphs:
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
F_IN_GGA(.(A, As), .(B, Bs), RES) → F_IN_GGA(.(B, .(A, As)), Bs, RES)
f_in_gga(A, [], RES) → U1_gga(A, RES, g_in_gga(A, [], RES))
g_in_gga([], RES, RES) → g_out_gga([], RES, RES)
g_in_gga(.(C, Cs), D, RES) → U3_gga(C, Cs, D, RES, g_in_gga(Cs, .(C, D), RES))
U3_gga(C, Cs, D, RES, g_out_gga(Cs, .(C, D), RES)) → g_out_gga(.(C, Cs), D, RES)
U1_gga(A, RES, g_out_gga(A, [], RES)) → f_out_gga(A, [], RES)
f_in_gga(.(A, As), .(B, Bs), RES) → U2_gga(A, As, B, Bs, RES, f_in_gga(.(B, .(A, As)), Bs, RES))
U2_gga(A, As, B, Bs, RES, f_out_gga(.(B, .(A, As)), Bs, RES)) → f_out_gga(.(A, As), .(B, Bs), RES)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
F_IN_GGA(.(A, As), .(B, Bs), RES) → F_IN_GGA(.(B, .(A, As)), Bs, RES)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPSizeChangeProof
F_IN_GGA(.(A, As), .(B, Bs)) → F_IN_GGA(.(B, .(A, As)), Bs)
From the DPs we obtained the following set of size-change graphs: